home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat1 / power.1 < prev    next >
Text File  |  1999-09-16  |  615b  |  67 lines

  1.  
  2.  
  3.  
  4. ^(1)                           Scilab Function                           ^(1)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   ^  - power operation
  13.  
  14. DESCRIPTION
  15.   For square matrices A^p is calculated by successive multiplication if p is
  16.   a positive integer, and by diagonalization if not.  For non-square matrices
  17.   the operation is done entry by entry.  Note that Kronecker product is noted
  18.   .*. (e.g.  A.*.2  returns the elementwise squared A matrix).
  19.  
  20.   Note that ** can be used instead of ^.
  21.  
  22. EXAMPLE
  23.   A=rand(2,3);A^2
  24.   A=rand(5,5);X=A^(0.2);X^5-A
  25.  
  26. SEE ALSO
  27.   exp, function mpow in SCIDIR/macros/util
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.